package com.woniuxy.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.woniuxy.mapper.TurnoverMapper;
import com.woniuxy.pojo.DayMoney;
import com.woniuxy.pojo.MonthMoney;
import com.woniuxy.service.TurnoverService;
@Service
public class TurnoverServiceImpl implements TurnoverService{
	@Resource
	private TurnoverMapper turnoverMapper;
	@Override
	public List<DayMoney> findDayMoney() {
		
		return turnoverMapper.findDayMoney();
	}

	@Override
	public List<MonthMoney> findMonthMoney(String year) {
		
		return turnoverMapper.findMonthMoney(year);
	}

	@Override
	public List<DayMoney> findOneDayMoney(String fristday, String lastday) {
		
		return turnoverMapper.findOneDayMoney(fristday, lastday);
	}

}
